﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Forum.Entity.Group;
using Forum.DAL.Group;
using Frame.Lib.Core.Base;

namespace Forum.BLL.Group
{
    public class ForumGroupBO : CommonOperate<ForumGroupInfo>
    {
        private ForumGroupDAL _forumGroup;

        protected override BaseDAL DAL
        {
            get 
            {
                return _forumGroup; 
            
            }
        }

        public ForumGroupBO()
        {
            _forumGroup = new ForumGroupDAL();
        }

        //public static ForumGroupBO Instance(System.Web.UI.Page page)
        //{
        //    if (page.Items["group"] == null)
        //    {
        //        page.Items["group"] = new ForumGroupBO();
        //    }
        //    return (ForumGroupBO)page.Items["group"];
        //}

        
    }
}
